package logic.courseProduce_logic;

import po.CourseAssistPO;
import po.CourseBasicPO;
import po.CoursePublishPO;
import resultmessage.CourseProduceRM;
import vo.CourseAssistVO;
import vo.CourseBasicVO;
import vo.CoursePublishVO;
import logicsv.courseProduce_logicsv.CourseProduceLogicsv;

public class CourseProduceLogicsvController implements CourseProduceLogicsv {
	private CourseBasic courseBasic = new CourseBasic();
	private CourseAssist courseAssist = new CourseAssist();
	private CoursePublish coursePublish = new CoursePublish();
	@Override
	public CourseProduceRM addCourseBasic(CourseBasicPO basic) {
		// TODO Auto-generated method stub
		return courseBasic.addCourseBasic(basic);
	}

	@Override
	public CourseProduceRM updateCourseBasic(CourseBasicPO basic) {
		// TODO Auto-generated method stub
		return courseBasic.updateCourseBasic(basic);
	}

	@Override
	public CourseBasicVO getCourseBasic(String courseID) {
		// TODO Auto-generated method stub
		return courseBasic.getCourseBasic(courseID);
	}

	@Override
	public CourseProduceRM addCoursePublish(CoursePublishPO publish) {
		// TODO Auto-generated method stub
		return coursePublish.addCoursePublish(publish);
	}

	@Override
	public CourseProduceRM updateCoursePublish(CoursePublishPO publish) {
		// TODO Auto-generated method stub
		return coursePublish.updateCoursePublish(publish);
	}

	@Override
	public CoursePublishVO getCoursePublish(String courseID) {
		// TODO Auto-generated method stub
		return coursePublish.getCoursePublish(courseID);
	}

	@Override
	public CourseProduceRM addCourseAssist(CourseAssistPO assist) {
		// TODO Auto-generated method stub
		return courseAssist.addCourseAssist(assist);
	}

	@Override
	public CourseProduceRM updateCourseAssist(CourseAssistPO assist) {
		// TODO Auto-generated method stub
		return courseAssist.updateCourseAssist(assist);
	}

	@Override
	public CourseAssistVO getCourseAssist(String courseID) {
		// TODO Auto-generated method stub
		return courseAssist.getCourseAssist(courseID);
	}
}
